package com.hanhan.chargingpile.user.pojo.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 用户资金
 * </p>
 *
 * @author HanHan
 * @since 2023-03-23
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="AppUserFund对象", description="用户资金")
public class AppUserFund implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long appUserId;

    @ApiModelProperty(value = "可用金额")
    private BigDecimal usableFund;

    @ApiModelProperty(value = "总充值金额")
    private BigDecimal inAllFee;

    @ApiModelProperty(value = "总提现金额")
    private BigDecimal outAllFee;

    @ApiModelProperty(value = "添加代理商id")
    private Long agentUserId;

    @ApiModelProperty(value = "钱包账号（卡号）")
    private String cardNum;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "更新时间")
    private LocalDateTime updateTime;


}
